/*
 * @Author: zhang gen yuan
 * @Date: 2021-06-02 13:32:32
 * @Descripttion: 
 */
export default {
    namespaced: true,
    state: {
        token: ''
    },
    getters: {
        getToken: state => state.token
    },
    mutations: {
        setToken(state, payload) {
            state.token = payload;
        },
        clearToken(state) {
            state.token = ''
        }
    }
}